package edu.ntnu.superrss.service;

import edu.ntnu.superrss.models.Category;
import edu.ntnu.superrss.models.User;
import java.util.List;

public interface CategoryService {
    public Category addCategory(String u, String title);
    public Category addCategory(User u, Category category);

    public List<Category> getCategories(String username);
    public List<Category> getCategories(User user);
    public List<Category> getCategories(Long[] categoryIds);
    
    public void removeCategory(User u, Long id);
}
